﻿<UserControl
    x:Class="CalciumTemplateApp.HelpView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c="clr-namespace:DanielVaughan.Windows;assembly=Calcium.Phone"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    c:VisualStateUtility.VisualState="{Binding VisualState}">

    <Grid x:Name="ContentPanel" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <StackPanel>
            <TextBlock 
                Text="{Binding Resources.Instance.Page_Help_Body, 
                                      Source={StaticResource Resources}, 
                                      FallbackValue=description}"
                TextWrapping="Wrap" />
        </StackPanel>
    </Grid>
 
</UserControl>